<template>
  <div class="HotArticle">
      <div class="HotArticle-top">
          <h3 style="margin: 0;">热门文章</h3>
      </div>
      <div class="articles">
        <div class="article">
          <a href="" target="_blank">
          DBeaver - 一款免费开源的通用数据库工具
          <img src="@/assets/icon/eye-fill.svg" style="height: 14px;width: 14px;opacity: 0.5;margin-top: 5px;">
           <span style="font-size: smaller;position: relative;bottom: 3px;margin-left: 5px;">1111</span>
          </a>
        </div>

       
      </div>
     
    </div>
</template>

<script>
export default {
     name:"HotArticle"
}
</script>

<style>
.HotArticle{
  width: 100%;
  height: 400px;
  background-color: white;
  /* padding: 20px ; */
  /* flex-basis: 50%; */
}
.HotArticle .article{
  width: 100%;
  height: 46px;
}
.HotArticle-top{
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding-left: 20px;
  border-bottom: 1px solid black;
  
}
.articles{
  width: 90%;
  height: 330px;
  padding: 12px 20px;
}
.articles a{
    font-size: 14px;
}
.HotArticle .article{
  margin-top: 10px;
}
.HotArticle .article a{
  display: block;
  width: 100%;
  height: 100%;
}

</style>